package com.kob.backend.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @program: backend
 * @description:
 * @author: mqf
 * @create: 2023-03-21 21:09
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("car")
public class Car {
    @TableId(type = IdType.AUTO)//实现id自增
    private Integer id;
    private String carName;
    private String ip;
    private int port;
    private String packetName;
    private int photoNumber;
    private String energy;
    private String money;
}
